﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace BMSQ.Admin.BusinessType
{
    public partial class Show : System.Web.UI.Page
    {
        public string strid = "";
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!Page.IsPostBack)
            {
                if (Request.Params["id"] != null && Request.Params["id"].Trim() != "")
                {
                    strid = Request.Params["id"];
                    string B_TypeID = strid;
                    ShowInfo(B_TypeID);
                }
            }
        }

        private void ShowInfo(string B_TypeID)
        {
            BLL.Business_Type bll = new BLL.Business_Type();
            Model.Business_Type model = bll.GetModel(B_TypeID);
            this.lblB_TypeID.Text = model.B_TypeID;
            this.lblB_TypeName.Text = model.B_TypeName;
        }
    }
}